package org.example.car.system.mapper;
import org.example.car.system.domain.SysMenu;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface SysMenuMapper {
    /**
     * 查询所有菜单列表;
     * @return
     */
     List<SysMenu> selectMenu(SysMenu entity);
    /**
     * 添加菜单数据;
     * @param entity
     * @return
     */
     int addMenu(SysMenu entity);

    void insertentity(SysMenu entity) throws  Exception;


    List<SysMenu>selectbyId(Integer menuId);

    void deleteByParentId(String abc) throws Exception;

    void deleteNormal(Integer menuId);

    SysMenu sentimentality(Integer parentId);


    void updatemysql(SysMenu entity) throws  Exception;

    List<SysMenu> selectall();
}
